{extend name="personcentor/Minformation"}
{block name="head"}
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>乐在自由，途我自在</title>
    <link href="/static/index/business/css/admin.css" rel="stylesheet" type="text/css">
    <link href="/static/index/business/css/amazeui.css" rel="stylesheet" type="text/css">
    <link href="/static/index/business/css/personal.css" rel="stylesheet" type="text/css">
    <link href="/static/index/business/css/appstyle.css" rel="stylesheet" type="text/css">
    <script src="/static/index/business/js/jquery.min.js"></script>
    <script src="/static/index/business/js/amazeui.js"></script>

    <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    {js href="/static/index/imgUp/js/index.js"}

    {load href="/static/index/css/bootstrap.min.css"}
    {load href="/static/index/css/footer.css"}

</head>
{/block}

{block name="main"}
<div class="col-main">
    <div class="main-wrap">
        <div class="user-comment">
            <!--标题 -->
            <div class="am-cf am-padding">
                <div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">发表评论</strong> / <small>Make&nbsp;Comments</small></div>
            </div>
            <hr/>

            <form class="comment-main" action="{:url('index/comment/save',['id' => $order.id])}" enctype="multipart/form-data" method="post">
                <div class="comment-list">
                    <div class="item-pic">
                        <a href="#" class="J_MakePoint">
                            <img src="/uploads/housepic/{:str_replace('\','/',$order['house_pic'])}" class="itempic" style="width:148px; height:148px;">
                        </a>
                    </div>

                    <div class="item-title">

                        <div class="item-name">
                            <a href="#">
                                <p class="item-basic-info">{$order.house_name}</p>
                            </a>
                        </div>
                        <div class="item-info">
                            <div class="info-little">
                                <span>预订人：{$order.input_person_name}</span><br>
                                <span>地址:{$order.house_address}</span>
                            </div>
                            <div class="item-price">
                                价格：<strong>￥{$order.houseprice}</strong>
                            </div>
                        </div>
                    </div>
                    <div class="clear"></div>

                    <div class="item-comment">
                        <textarea name="commentinfo" placeholder="请写下对宝贝的感受吧，对他人帮助很大哦！"></textarea>
                    </div>
                    <div class="row">
                        <div class="col-md-3"></div>
                        <div class="col-md-4">

                            <div id="addCommodityIndex">
                                <!--input-group start-->
                                <div class="input-group row">
                                    <div class="col-sm-3">
                                        <label>商品图片</label>
                                    </div>
                                    <div class="col-sm-9 big-photo">
                                        <div id="preview">
                                            <img id="imghead" border="0" src="/static/index/imgUp/img/photo_icon.png" width="90" height="90" onclick="$('#previewImg').click();">
                                        </div>
                                        <input type="file" onchange="previewImage(this)" style="display: none;" id="previewImg" name="upload_path">
                                        <!--<input id="uploaderInput" class="uploader__input" style="display: none;" type="file" accept="" multiple="">-->
                                    </div>
                                </div>
                                <!--input-group end-->

                            </div>
                        </div>
                    </div>


                </div>


                <!--多个商品评论-->

                <div class="row">
                    <div class="col-md-3"></div>
                    <div class="col-md-2">
                        <div class="infobtn">
                            <button type="submit" class="am-btn am-btn-danger ">发表评论</button>
                        </div>
                    </div>
                </div>
            </form>


            </div>
        </div>
            </div>


{/block}